package cn.iocoder.yudao.module.enterprise.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

/**
 * Member 错误码枚举类
 *
 * member 系统，使用 1-004-000-000 段
 */
public interface ErrorCodeConstants {

    // ========== 企业相关  1004002000============
    ErrorCode COMPANY_NOT_EXISTS = new ErrorCode(1004050000, "企业不存在");
    ErrorCode COMPANY_EXISTS = new ErrorCode(1004050003, "企业已提起认证");
    ErrorCode TENANT_COMPANY_ISEXISTS = new ErrorCode(1004050005, "该租户已存在企业");
    ErrorCode TENANT_COMPANY_AYTHORIZED_ISEXISTS = new ErrorCode(1004050006, "企业已提交认证");
    // ========== 用户简历相关  1004051000============
    ErrorCode STUDENT_CURRICULUM_VITAE_NOT_EXISTS = new ErrorCode(1004051000, "用户简历不存在");
    // ========== 用户简历教育经历 1004051000 ==========
    ErrorCode ENTERPRISE_STUDENT_EDUCATIONAL_EXPERIENCE_NOT_EXISTS = new ErrorCode(1004051000, "用户简历教育经历不存在");

    // ========== 用户相关  1004001000============
    ErrorCode USER_NOT_EXISTS = new ErrorCode(1004001000, "用户不存在");
    ErrorCode USER_PASSWORD_FAILED = new ErrorCode(1004001001, "密码校验失败");
    ErrorCode USER_NEW_PHONE_IS_EXISTS = new ErrorCode(1004001002, "该手机号已注册企业，请更换新的手机号");

    ErrorCode PRAXIS_PROJECT_NOT_EXISTS = new ErrorCode(1004001020, "记录不存在");
    ErrorCode PRAXIS_PROJECT_NOT_AUTH= new ErrorCode(1004001023, "您已越权,请联系管理员");
    ErrorCode PRAXIS_PROJECT_NOT_DEL= new ErrorCode(1004001025, "项目已发布不允许该操作");
    ErrorCode PRAXIS_PROJECT_NOT_DOUBLE= new ErrorCode(1004001026, "项目赛程已存在,不能重复添加");
    ErrorCode PRAXIS_PROJECT_ENTRY_EXIST= new ErrorCode(1004001027, "已入选,不能重复添加");
    ErrorCode PRAXIS_PROJECT_SUCHED_END= new ErrorCode(1004001028, "赛程未开始或已结束,不能操作");
    ErrorCode PRAXIS_PROJECT_ENTRY_NOTNULL= new ErrorCode(1104050030, "上传资料截止时间已过,不能操作");
    ErrorCode PRAXIS_PROJECT_RESULT_EXISTS = new ErrorCode(1104050032, "该项目结果公示已存在");
    ErrorCode PRAXIS_PROJECT_RESULT_NOT_EXISTS = new ErrorCode(1104050013, "项目结果不存在");
    // ========== AUTH 模块 1004003000 ==========
    ErrorCode AUTH_LOGIN_BAD_CREDENTIALS = new ErrorCode(1004003000, "登录失败，账号密码不正确");
    ErrorCode AUTH_LOGIN_USER_DISABLED = new ErrorCode(1004003001, "登录失败，账号被禁用");
    ErrorCode AUTH_LOGIN_FAIL_UNKNOWN = new ErrorCode(1004003002, "登录失败"); // 登录失败的兜底，未知原因
    ErrorCode AUTH_TOKEN_EXPIRED = new ErrorCode(1004003004, "Token 已经过期");
    ErrorCode AUTH_THIRD_LOGIN_NOT_BIND = new ErrorCode(1004003005, "未绑定账号，需要进行绑定");

    // ========== 访问记录 1004004001 ==========
    ErrorCode COMPANY_ACCESS_COUNT_NOT_EXISTS = new ErrorCode(1004004001, "访问记录不存在");
    // ========== 简历投递记录 1004005001  ==========
    ErrorCode CURRICULUM_VITAE_SEND_RECORD_NOT_EXISTS = new ErrorCode(1004005001, "简历投递记录不存在");
    // ========== 招聘职位 1004006001 ==========
    ErrorCode JOB_IS_EXISTS = new ErrorCode(1004006000, "招聘职位已存在");
    ErrorCode JOB_NOT_EXISTS = new ErrorCode(1004006001, "招聘职位不存在");
    ErrorCode JOB_IMPORT_IS_EXISTS = new ErrorCode(1004006002, "招聘职位导入不能为空");

    // ========== id集合不存在 1000000002 ==========
    ErrorCode IDS_NOT_EXISTS = new ErrorCode(1000000002, "id集合不存在");

    // ========== 面试邀约 1004007001 ==========
    ErrorCode INTERVIEW_INVITE_NOT_EXISTS = new ErrorCode(1004007001, "面试邀约不存在");

    // ========== 招聘职位 1005001001 ==========
    ErrorCode ENTERPRISE_JOB_NOT_EXISTS = new ErrorCode(1005001001, "招聘职位不存在");


}
